home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-09-07 | 4.7 KB | 121 lines | [TEXT/MSWD] |
- Taskdemo Documentation
- ======================
-
- Taskdemo
- --------
-
- Taskdemo is a small application that shows off a few of the features
- of a new product called Tasker. Tasker is a library of multitasking routines
- that allows a programmer to split his application into multiple tasks all
- executing concurrently. It was not designed to run multiple applications
- (like MultiFinder), but to run more than one task inside a single application.
-
- This demo allows the user open up to 4 windows each with its own task. The
- task may be a bouncing ball, a zooming rectangle, or scrolling text. While
- these windows are operating in background, the user may select menus and run
- desk accessories.
-
- Tasker
- ------
-
- Tasker is a multitasking library containing 28 routines that make the job
- of multiple tasks a breeze. It is available (in library format) for
- LightSpeed C, and Consulair C (other versions coming soon). It is very
- small (about 3.5K) and very powerful. Composed of 5 managers, Tasker includes -
-
- Queue Manager - manages doubly linked list queues
-
- InitElem() - initialize an element
- InitQ() - initialize a queue
- Enq() - add an element to the bottom of a queue
- Deq() - remove an element from the top of a queue
- EnqTop() - add an element to the top of a queue
- DeqBot() - remove an element from the bottom of a queue
- InsQ() - insert an element into a queue
- ExtQ() - extract an element from a queue
-
- Task Manager - manages the tasks in the application
-
- InitTasks() - initialize Tasker
- NewTask() - create a new task
- DisposeTask() - dispose of a task
- StartSched() - start up the task scheduler
- SuspendTask() - suspend the running task (until it is his turn again)
- SleepTask() - put the task to sleep (until someone wakes it up)
- WakeTask() - wake a task up (one that was put to sleep)
- RunTaskID() - return the ID of a running task
- TaskState() - return the state of a task
-
- Message Manager - manages asynchronous inter-task communications
-
- SendMsg() - send a message to a task
- GetMsg() - retrieve a message from the task's message queue
- MsgAvail() - check if a message exits on the task's message queue
- WaitMsg() - wait until a message (of a certain type) shows up
- on the task's message queue
- ClrMsg() - clear all messages (of a certain type) from the
- task's message queue
-
- Mailbox Manager - manages synchronous inter-task communications
-
- ReadMbx() - read a mailbox
- WriteMbx() - write a mailbox
-
- Timer Manager - manages delayed task operations
-
- TimerMsg() - send a message to a task on a timer
- TimerMbx() - write to a mailbox on a timer
- TimerWake() - wake a task on a timer
- StopTimer() - stop a timer
-
-
- Tasker (object code) includes
-
- - two libraries containing these routines
- - examples showing background sound, printing, communications and this demo
- - a quick reference card with all of these routines and their parameters
- - a special gift
-
- Tasker (source code) includes
-
- - all of the items in Tasker object code
- - complete source code to all of the routines, fully documented
-
- -------------------------------------------------------------------------------
- ORDER FORM
- --------------
-
- Name: _________________________________________________________
-
- Company: _________________________________________________________
-
- Address: _________________________________________________________
-
- City: _________________________________________________________
-
- State: ____ Zip: _______ Country: ______________________________
-
- Telephone: ___-___-____
-
- [] LightSpeedC format
-
- [] Consulair Mac C format
-
- PRODUCT EACH QTY TOTAL
-
- TASKER (object code) ................................$49.95 ___ $ _____
- TASKER (source code) ................................$99.95 ___ $ _____
-
- Sales Tax (Arizona residents only, add 6%) $ _____
- Shipping (U.S. - add $3.00, outside U.S. - add $10.00) $ _____
-
- TOTAL ............................................... $ _____
-
- For fastest delivery, include cashiers check or money order for total amount.
-
- Mail to: ShirtPocket Software
- 1458 W. Coquina
- Gilbert, AZ 85234
- or call (602) 926-1062
- -------------------------------------------------------------------------------
-